package com.downrice.dao;

import com.downrice.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by lxiafan on 2017/1/12.
 */
public interface RoleRepository extends JpaRepository<Role, Long> {
    List<Role> findByName(String name);
}
